package com.nageoffer.jobtrain.judge.common.constant;

/**
 * 系统非必要常量类
 */
public class SystemConstant {

    /**
     * 分号分隔符
     */
    public static final String SPLIT_SEM = ";";

    /**
     * 布尔值：真
     */
    public static final Integer TRUE = 1;

    /**
     * 布尔值：假
     */
    public static final Integer FALSE = 0;

    /**
     * 默认验证码
     */
    public static final String DEFAULT_CODE = "123456";

    /**
     * 用户 ID
     */
    public static final String USER_ID = "user_id";

    /**
     * 用户密钥
     */
    public static final String USER_KEY = "user_key";

    /**
     * 判题服务
     */
    public static final String JUDGE_SERVICE = "oj-judge";

    /**
     * 下划线分隔符
     */
    public static final String UNDERLINE_SEPARATOR = "_";

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * 系统用户 ID
     */
    public static final Long SYSTEM_USER_ID = 1L;

    /**
     * 主机问题列表起始位置
     */
    public static final int HOST_QUESTION_LIST_START = 1;

    /**
     * 主机问题列表结束位置
     */
    public static final int HOST_QUESTION_LIST_END = 5;
}
